#-Desc: calico node模块
#-Author: fxl0206

#-b to set sudo mode

init: #初始化 #M=? //delegate host
	$(call chkNotNull,deleagetHost,${M})
	${ansiblePlay} -e "masterIp=${M}" $(call wraptags,init)

install: #安装 #
	${ansiblePlay} $(call wraptags,install)

restart: #重启 #
	${ansiblePlay} $(call wraptags,restart)

uninstall: #卸载 #
	${ansiblePlay} $(call wraptags,uninstall)

status: #查看状态 #
	${ansiblePlay} $(call wraptags,status)

clean: #卸载完成后清理 #
	${ansiblePlay} $(call wraptags,clean)